package com.px.chapter_Nov_1;

import java.util.Scanner;

public class text7_2 {
    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        int a =scanner.nextInt(),b=a,x=0;
        while (a>0){
            x=x*10+a%10;
            a=a/10;
        }
        System.out.println((x==b)?"是":"不是");

        /*    Scanner scanner=new Scanner(System.in);
    int zz=scanner.nextInt(),a=0,c=0,b,s=0;
    b=zz=c;
   for(;zz>0;a++) {
       zz=zz/10;
   }
    for (int d;b>0;a--){
        d=b%10;
        b=b/10;
        s=(int)(s+d*Math.pow(10,a-1));
        System.out.println(s);
    }
       if (s==c){
           System.out.println("这个为回文数");
       }else {
           System.out.println("这不是"+s);
       }*/
    /* for (int b,c,d=0;zz>1;zz--){
        a=a*10;
    }
        System.out.println(a);
*/
        //11
/*   int x=0;
    for(int d=0,z,m;d<100;d++){


        for(z=0;z<100;z++){

                m=100-z-d;
                if (5*d+3*z+m/3==100&&m%3==0){
                    x++;
                    System.out.println("公鸡:"+d+"母鸡:"+z+"小鸡:"+m);

                }

             }
        }
        System.out.println(x);

*/
       // 第10题
/*

        System.out.print("请输入0-99999的数");
        Scanner scanner=new Scanner(System.in);
    int i=scanner.nextInt(),a=0;
    for (;i>0;i--){
        i=i/10;
        a++;

        }
        System.out.println(a);
*/

        /*第9题
    Scanner scanner=new Scanner(System.in);
    int ji=scanner.nextInt();
    for (int a,b=0,d=0;d<=ji;d++){
        for (int f=d;f<=ji;f++){
            System.out.print(" ");
        }

        for (a=2*d-1;a>0;a--){
            System.out.print(b);
        }
        b++;
        System.out.println(" ");
    }
*/
        /* 第8题
       Scanner scanner=new Scanner(System.in);
        int jj=scanner.nextInt();
        for (int ji=jj,i=0;ji>0;ji--) {
            for (int a = 11; a > 0; a--) {
                if (a==1||a==11){
                    System.out.print("*");
                    continue;
                }
                if (i==jj-1||i==0){
                  System.out.print("*");
              }else {
                  System.out.print(" ");
              }


                   }

                   i++;
                   System.out.println();
        }*/
    /*第7题
    Scanner scanner=new Scanner(System.in);
    int jj=scanner.nextInt();
    for (;jj>0;jj--){
        for (int a=11;a>0;a--){

            System.out.print("*");
        }
        System.out.println(" ");
    }
*/

        /*第6题
        double human=8_000,c;

        for (int a=2016;a>0;a++){
            human=human*(1+0.25);
            System.out.println(human);
            if (human>=20_000){
                System.out.println("到"+a+"人数达到20,000");
                break;
            }
        }*/
        /*第5题目
       Scanner scanner=new Scanner(System.in);
        System.out.println("输入一个数字");
        int jj=scanner.nextInt();
        System.out.println("输入一个数字");
        int ii=scanner.nextInt();
        System.out.println("输入一个数字");
        int oo=scanner.nextInt();
        if (jj+ii>oo&&jj+oo>ii&&ii+jj>oo&&jj-ii<oo&&jj-oo<ii&&ii-jj<oo){
            System.out.println("可以构成3角形");
        }else {
            System.out.println("无法构成三角形");
        }*/
        /*第4题
        Scanner scanner=new Scanner(System.in);
        int jj=scanner.nextInt();
        int ii=scanner.nextInt();
        int mm;
        switch (ii){

            case 4:case 6:case 9:case 11:
                mm=30;
                break;
            case 2:
                if (jj%4==0&&jj%100!=0||jj%400==0){
                    mm=29;
                }else {
                    mm=28;
                }
                break;
            default:
                mm=31;
                break;

        }
        System.out.println("本月份为"+mm+"天");
*/


        /*   第3题
     System.out.print("请输入会员积分");
        Scanner scanner=new Scanner(System.in);
        int jj=scanner.nextInt();
        int jf=0;
        if (jj>=8000){
            jf=6;
        }else if (jj<8000&&jj>=4000){
            jf=7;
        }else if (jj<4000&&jj>=2000){
            jf=8;}
            else {
                jf=9;
        }


        System.out.println("该会员享受的折扣为"+jf+"折");*/

        /*第二题

        System.out.println("请输入会员号4位以上");
        Scanner scanner=new Scanner(System.in);
        int jj=scanner.nextInt();
        int x=(int)(Math.random()*10),v;
        v=jj/100%10;
        if (x==v){
            System.out.println("恭喜你成为了我们的幸运会员");
        }else {
            System.out.println("你个非洲人");
        }*/
        /*第一题
        int a,b,c,d;
        a=jj%10;
        b=jj/10%10;
        c=jj/100%10;
        d=jj/1000;
        System.out.println(a+b+c+d);*/


        /*for(int f=0;f<jj;f++){
            for (int o=0;o<jj-f;o++){
                System.out.print(" ");
            }
            for (int d=0;d<2*f+1;d++){
                System.out.print("*");
            }
            System.out.println(" ");

        }
        for (int f=0;f<jj;f++){
            for (int x=0;x<f+2;x++){
                System.out.print(" ");
            }
            for (int d=0;d<2*(jj-f-1)-1;d++){
                System.out.print("*");
            }

            System.out.println(" ");
        }*/


        /*第n题目

        for(int a =-jj;a<=jj;a++){
            for (int d=Math.abs(a);d>=0;d--){
                System.out.print("*");
            }
           for (int c=a, g=((jj*2-1)-2*Math.abs(c));g>0;g--){
               System.out.print(" ");
           }
            for (int d=Math.abs(a);d>=0;d--){
                System.out.print("*");
            }

            System.out.println(" ");
        }*/
    }

}
